package com.cf.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import lombok.Data;

@Data
@Configuration
//@ConfigurationProperties(prefix = "IndexType")
@PropertySource(value = "column.properties", encoding = "UTF-8")
@Component
public class ColumnConfig {
	public ColumnConfig() {
		super();
	}

	/*
	 * 供应商评价指标列名
	 */
	@Value("${Supplier.quanlity}")
	private String quanlity; // 品质

	@Value("${Supplier.dueDate}")
	private String dueDate; // 交期

	@Value("${Supplier.paymentDays}")
	private String paymentDays; // 账期

	@Value("${Supplier.service}")
	private String service; // 服务

	@Value("${Supplier.lowerCosts}")
	private String lowerCosts; // 降本

	@Value("${Supplier.buyTotal}")
	private String buyTotal;// 采购总额

	@Value("${Supplier.totalIdx}")
	private String totalIdx;// 指标汇总

	/*
	 * 客户评价指标列名
	 */
	@Value("${Card.revenue}")
	private String cardRevenue;// 销售收入

	@Value("${Card.receivable}")
	private String cardReceivable;// 应收账款

	@Value("${Card.grossProfit}")
	private String cardGrossProfit;// 毛利率

	@Value("${Card.service}")
	private String cardService;// 手动打分

	@Value("${Card.totalIdx}")
	private String cardTotalIdx;// 指标汇总
}
